from page_object.driver.AndroidClient import AndroidClient
from page_object.pages.BasePage import BasePage
from page_object.pages.MainPage import MainPage

class App(BasePage):
    @classmethod
    def main(cls):
        '''
        初始化APP driver
        :return:
        '''
        cls.getClient().restart_app()
        return MainPage()